from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import NotificationViewSet, mark_notifications_as_read, delete_mark_notifications

router = DefaultRouter()
router.register(r'notifications', NotificationViewSet, basename='notification')

urlpatterns = [
    path('', include(router.urls)),
    path('mark_as_read/', mark_notifications_as_read, name='mark-notifications-as-read'),
    path('delete_mark/', delete_mark_notifications, name='delete_mark_notifications'),
]
